<?php

/**
 * 后台环境页
 * @copyright (c) 2013, Mr.Wang
 * 
 */
class UserAction extends AdminAction {

    function _before_update() {
        if ($_POST['password'] == "") {
            unset($_POST['password']);
        } else {
            $_POST['password'] = md5($_POST['password']);
        }
    }

}
